/**
 * SysAdmin.java
 * SysAdmin实体映射对象
 * 
 * @author		zhoubing
 * @date   		2018-08-20 12:35:16
 * @revision	v1.0
 */
package com.jftone.bh.app.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GenerationType;
import javax.persistence.Table;
import org.jftone.model.Model;
import javax.persistence.GeneratedValue;
import java.util.Date;
import javax.persistence.Id;

@Entity
@Table(name="sys_admin")
public class SysAdmin extends Model {
	@Column(name="password")
	private String password;

	@Column(name="login_time", columnDefinition="datetime")
	private Date loginTime;

	@Column(name="admin_user")
	private String adminUser;

	@Column(name="create_time", columnDefinition="datetime")
	private Date createTime;

	@Column(name="login_ip")
	private String loginIp;

	@Column(name="mobile")
	private String mobile;

	@Column(name="remark")
	private String remark;

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="id")
	private Integer id;

	@Column(name="user_name")
	private String userName;

	@Column(name="locked")
	private Short locked;

	@Column(name="email")
	private String email;

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Date getLoginTime() {
		return loginTime;
	}

	public void setLoginTime(Date loginTime) {
		this.loginTime = loginTime;
	}

	public String getAdminUser() {
		return adminUser;
	}

	public void setAdminUser(String adminUser) {
		this.adminUser = adminUser;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getLoginIp() {
		return loginIp;
	}

	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public Short getLocked() {
		return locked;
	}

	public void setLocked(Short locked) {
		this.locked = locked;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

}
